<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>合同管理修改</title>
<link rel="stylesheet" type="text/css"
	href="../../layui/css/layui.css" media="all">
<style type="text/css">
	body{
		margin:20px 0px;
	}
</style>
</head>
<body>
	<fieldset class="layui-elem-field layui-field-title"
		style="margin-top: 20px;">
		<legend>修改合同内容</legend>
	</fieldset>

	<form class="layui-form" action="../../contractTableAction/update" method="post">
		<input type="hidden" name="conId" id="conId">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">甲方签字人</label>
				<div class="layui-input-inline">
					<input type="text" name="conOne" id="conOne" required
						lay-verify="required" placeholder="分公司名称" autocomplete="off" maxlength="8"
						class="layui-input">
				</div>
				
				
				<label class="layui-form-label">乙方公司</label>
				<div class="layui-input-inline">
					<input type="text" name="twoCompany" id="twoCompany" required
						lay-verify="required" placeholder="地址" maxlength="8"
						autocomplete="off" class="layui-input">
				</div>
			</div>
		</div>
		
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">乙方签字人</label>
				<div class="layui-input-inline">
					<input type="text" name="conTwo" id="conTwo" required
						lay-verify="required" maxlength="10" placeholder="管理人" maxlength="8"
						autocomplete="off" class="layui-input">
				</div>
				
				<label class="layui-form-label">甲方公司</label>
				<div class="layui-input-inline">
					<input type="text" name="oneCompany" id="oneCompany" required
						lay-verify="required" maxlength="10" placeholder="管理人" maxlength="8"
						autocomplete="off" class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<input type="submit" class="layui-btn" lay-submit=""
					lay-filter="update" value="立即修改">
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
	<script src="../../layui/layui.js" charset="utf-8"></script>
	<script type="text/javascript">
		layui.use('form', function(){
			  var form = layui.form
			  ,layer = layui.layer
			  ,$ = layui.$;
			  
			  form.on('submit(update)',function(){
				  parent.location.reload(); // 父页面刷新
			  });
		});
	</script>
</body>
</html>